home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / emulations / 2920 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  41.0 KB

  1. Path: yoda.hao.ucar.edu!hull
  2. From: hull@yoda.hao.ucar.edu (Howard Hull)
  3. Newsgroups: comp.sys.amiga.emulations
  4. Subject: Amiga HardFile FAQ Rev. 2 Part [2/2]
  5. Date: 18 Mar 1996 19:56:06 GMT
  6. Organization: High Altitude Observatory, Boulder CO 80303
  7. Distribution: world
  8. Message-ID: <4ikf4m$9ps@ncar.ucar.edu>
  9. NNTP-Posting-Host: yoda.hao.ucar.edu
  10. Summary: HardFile FAQ, Spring 1996 Edition
  11. Keywords: hardfile support
  12.  
  13.  
  14. Amiga HardFile FAQ -This is Revision 2.0        Part [2/2]    18-Mar-1996
  15.                    -Prev is Revision 1.0                    03-Nov-1995
  16.                    -Initially released                      20-Oct-1995
  17.  
  18. /* This is an example of a mountlist entry for using the recoverable   */
  19. /* ram disk with the CrossDOS File System for a 1440K MSDOS floppy disk */
  20.  
  21. DRD0:
  22.       Device = ramdrive.device
  23.       FileSystem = L:CrossDOSFileSystem
  24.       Mask = 0x7FFF
  25.       Unit = 0
  26.       Flags = 0
  27.       Surfaces  = 2
  28.       Reserved = 0
  29.       Interleave = 0
  30.       BlocksPerTrack = 18
  31.       LowCyl = 0  ;  HighCyl = 79
  32.       Stacksize = 2000
  33.       Priority = 5
  34.       GlobVec = -1
  35.       DosType = 0x4D534400
  36.       Buffers = 10
  37.       BufMemType = 4
  38.       Mount = 1
  39. #
  40.  
  41. /* This is an example of a mount list entry for using the recoverable  */
  42. /* ram disk with the CrossDOS File System for a 720K MSDOS floppy disk */
  43.  
  44. DRD1:
  45.       Device = ramdrive.device
  46.       FileSystem = L:CrossDOSFileSystem
  47.       Mask = 0x7FFF
  48.       Unit = 1
  49.       Flags = 0
  50.       Surfaces = 2
  51.       Reserved = 0
  52.       Interleave = 0
  53.       BlocksPerTrack = 9
  54.       LowCyl = 0  ;  HighCyl = 79
  55.       Stacksize = 2000
  56.       Priority = 5
  57.       GlobVec = -1
  58.       DosType = 0x4D534400
  59.       Buffers = 5
  60.       BufMemType = 4
  61.       Mount = 1
  62. #
  63.  
  64. /* Mountlist for a CrossDOS ramdrive hardfile, 1440K MSDOS floppy disk image */
  65.  
  66. DFV0:
  67.       Device = fmsdisk.device
  68.       FileSystem = L:CrossDOSFileSystem
  69.       Unit = 0
  70.       Flags = 0
  71.       Reserved = 0
  72.       Surfaces = 2
  73.       BlocksPerTrack = 18
  74.       Interleave = 0
  75.       LowCyl = 0  ;  HighCyl = 79
  76.       GlobVec = -1
  77.       Priority = 5
  78.       DosType = 0x4D534400
  79.       Buffers = 10
  80.       BufMemType = 4
  81.       Mount = 1
  82. #
  83.  
  84. /* Mountlist for a CrossDOS ramdisk hardfile, 720K MSDOS floppy disk image */
  85.  
  86. DFV1:
  87.       Device = fmsdisk.device
  88.       FileSystem = L:CrossDOSFileSystem
  89.       Unit = 1
  90.       Flags = 0
  91.       Reserved = 0
  92.       Surfaces = 2 BlocksPerTrack = 9
  93.       Interleave = 0
  94.       LowCyl = 0  ;  HighCyl = 79
  95.       GlobVec = -1
  96.       Priority = 5
  97.       DosType = 0x4D534400
  98.       Buffers = 5
  99.       BufMemType = 4
  100.       Mount = 1
  101. #
  102.  
  103. /* Mountlist entry for `Any Mac' format hardfile for a Macintosh emulator */
  104. /* All units have same mountlist, except that Unit number is sequenced as */
  105. /* additional hardfiles containing newer software revisions are included  */
  106.  
  107. MHD0:
  108.       Device = fmsdisk.device
  109.       FileSystem = L:CrossMACFileSystem
  110.       Unit = 0 
  111.       Flags = 0
  112.       Reserved = 0
  113.       Surfaces = 4
  114.       BlocksPerTrack = 32
  115.       LowCyl = 0  ;  HighCyl = 407 
  116.       Stacksize = 4096
  117.       Priority = 5
  118.       GlobVec = -1
  119.       DosType = 0x4D414300
  120.       Buffers = 30
  121.       BufMemType = 1
  122.       Mount = 1
  123. #
  124.  
  125. /* Mountlist entry for `Any DOS' format hardfile for Emplant DOS emulator */
  126. /* All units have same mountlist, except that Unit number is sequenced as */
  127. /* additional hardfiles containing newer software revisions are included  */
  128.  
  129. PCHF0:
  130.       Device = fmsdisk.device
  131.       FileSystem = L:CrossDOSFileSystem
  132.       Unit = 0 
  133.       Flags = 0
  134.       Reserved = 0
  135.       Surfaces = 4
  136.       BlocksPerTrack = 32
  137.       LowCyl = 0  ;  HighCyl = 414 
  138.       Stacksize = 4096
  139.       Priority = 5
  140.       GlobVec = -1
  141.       DosType = 0x4D534400
  142.       Buffers = 30
  143.       BufMemType = 1
  144.       Mount = 1
  145. #
  146.  
  147. /* Mountlist entry for EMPLANT (proprietary) format hardfile device 25.51Meg */
  148.  
  149. MACHF0:
  150.       Device = emphf.device
  151.       Unit = 0 
  152.       Flags = 0
  153.       Surfaces = 4
  154.       BlocksPerTrack = 32
  155.       LowCyl = 0  ;  HighCyl = 407 
  156.       Reserved = 0
  157.       Stacksize = 4096
  158.       Priority = 5
  159.       GlobVec = -1
  160.       DosType = 0x444F5301 /* created FFS, but Init'd by Macintosh emulation */
  161.       Buffers = 30
  162.       BufMemType = 1
  163.       Mount = 1
  164. #
  165.  
  166. /* Mountlist entry for Emplant MSDOS format hardfile device 26Meg */
  167. /* Bridgeboard or PCTask format file system  */
  168.  
  169. DOSHF0:
  170.       Device = emphf.device
  171.       FileSystem = L:CrossDOSFileSystem
  172.       Unit = 0 
  173.       Flags = 1
  174.       Surfaces = 4
  175.       BlocksPerTrack = 32
  176.       LowCyl = 0  ;  HighCyl = 414 
  177.       Reserved = 0
  178.       Stacksize = 4096
  179.       Priority = 5
  180.       GlobVec = -1
  181.       DosType = 0x4D534400
  182.       Buffers = 30
  183.       BufMemType = 1
  184.       Mount = 1
  185. #
  186.  
  187. PCC:
  188. /* Mountfile Entry Created: 27-Dec-95 13:10:18
  189.  * for a File as a CrossDOS Disk.
  190.  *
  191.  * Disk Size: 1014.4 K
  192.  * Creator: CrossDOS Install program
  193.  */
  194. /* Disk size parameters.*/
  195.   Surfaces = 1
  196.   BlocksPerTrack = 1
  197.   Lowcyl = 0
  198.   Highcyl = 2028
  199.   BufMemType = 0
  200.   Blocksize = 512
  201. /* Device driver parameters.*/
  202.   Device = filedisk.device
  203.   Unit = "HD1:HFD/MSDOS0"
  204.   Flags = 0x00000000
  205. /* File system parameters.*/
  206.   Mask = 0xFFFFFFFE
  207.   Maxtransfer = 0xFFFFFFFF
  208.   Reserved = 0
  209.   FileSystem = L:CrossDOSFileSystem
  210.   Stacksize = 2000
  211.   Priority = 5
  212.   Bootpri = -20
  213.   GlobVec = -1
  214.   Buffers = 5
  215.   Dostype = 0x4d534800
  216.   Mount = 1
  217. #
  218.  
  219. PCD:
  220. /* Mountfile Entry Created: 27-Dec-95 13:23:36
  221.  * for a File as a CrossDOS Disk.
  222.  *
  223.  * Disk Size: 1014.4 K
  224.  * Creator: CrossDOS Install program
  225.  */
  226. /* Disk size parameters.*/
  227.   Surfaces = 1
  228.   BlocksPerTrack = 1
  229.   Lowcyl = 0
  230.   Highcyl = 2028
  231.   BufMemType = 0
  232.   Blocksize = 512
  233. /* Device driver parameters.*/
  234.   Device = filedisk.device
  235.   Unit = "HD1:HFD/MSDOS1"
  236.   Flags = 0x00000000
  237. /* File system parameters.*/
  238.   Mask = 0xFFFFFFFE
  239.   Maxtransfer = 0xFFFFFFFF
  240.   Reserved = 0
  241.   FileSystem = L:CrossDOSFileSystem
  242.   Stacksize = 2000
  243.   Priority = 5
  244.   Bootpri = -20
  245.   GlobVec = -1
  246.   Buffers = 5
  247.   Dostype = 0x4d534800
  248.   Mount = 1
  249. #
  250.  
  251. PCRDC:
  252. /* Mountfile Entry Created: 27-Dec-95 12:53:11
  253.  * for a File as a CrossDOS Disk.
  254.  *
  255.  * Disk Size: 1014.4 K
  256.  * Vendor and drive name: 
  257.  */
  258. /* Disk size parameters.*/
  259.   Surfaces = 1
  260.   BlocksPerTrack = 1
  261.   Lowcyl = 0
  262.   Highcyl = 2028
  263.   BufMemType = 0
  264.   Blocksize = 512
  265. /* Device driver parameters.*/
  266.   Device = ramdrive.device
  267.   Unit = "RAD:MSDOS0"
  268.   Flags = 0x00000000
  269. /* File system parameters.*/
  270.   Mask = 0x7FFF
  271.   Maxtransfer = 0xFFFFFFFF
  272.   Reserved = 0
  273.   FileSystem = L:CrossDOSFileSystem
  274.   Stacksize = 2000
  275.   Priority = 5
  276.   Bootpri = -20
  277.   GlobVec = -1
  278.   Buffers = 5
  279.   Dostype = 0x4d534800
  280.   Mount = 1
  281. #
  282.  
  283. ---------- End of Mountlist, cut here ----------
  284.  
  285. 10. What keywords are known to the AmigaDOS Mount Command?
  286.  
  287.     There are bunches of Mount keywords; most are optional.  Here are the ones
  288.     described in the "AmigaDOS Reference Guide" (Fourth Edition) Sheldon Leemon
  289.     Compute Books (1992):
  290.  
  291.     Handler =    The name of the device handler file.
  292.     EHandler =    The name of the environment handler file
  293.              (Release 2 and 3 AmigaDOS).
  294.     FileSystem =    The name of the file system file.
  295.     Device =    The name of the device driver file.
  296.     Priority =    The task priority of the process;
  297.              5 is customary for handlers, 10 for file systems.
  298.     Unit =        The unit number of the device.
  299.     Flags =        Flags setting for OpenDevice call (usually 0)
  300.              (See RKM for details).
  301.     Surfaces =    Number of write surfaces.
  302.     BlocksPerTrack= The number of disk blocks (sectors)
  303.                     per track (cylinder).
  304.     Reserved =    The number of blocks used for boot block; usually 2.
  305.     PreAlloc =    The number of blocks reserved at the end of a partition;
  306.              used with a few IBM-style hard drives.  Usually set to
  307.              zero.
  308.     Interleave =    Interleave value (controls DOS interleave, not physical
  309.              hard drive interleave).
  310.     LowCyl =    Starting cylinder to use for this device.
  311.     HighCyl =    Ending cylinder to use for this device.  Total number
  312.              of cylinders = HighCyl - LowCyl + 1.
  313.     Stacksize =    The amount of working memory to allocate to the process.
  314.     Buffers =    Number of cache buffers to use with this device.
  315.     BufMemType =    Type of memory to use for cache buffers:
  316.              0 or 1 = Any
  317.              2 or 3 = CHIP
  318.              4 or 5 = FAST
  319.              Originally: Odd numbers were presumed to be public.
  320.                       - or was it the other way around...???
  321.     Mount =        If this value is positive, MOUNT loads the handler or
  322.              driver software as soon as the device is MOUNTed,
  323.              rather than the first time the device is accessed.
  324.              Workbench 2.1 adds ACTIVATE as a synonym for this
  325.              keyword.
  326.     MaxTransfer =     The maximum number of blocks transferred at one time;
  327.              used with fast file system devices.
  328.     Mask =        Address mask that specifies the memory range that can
  329.              be used for DMA transfers; used with Fast File System.
  330.     GlobVec =    If the handler is written in BCPL, it needs a global
  331.              vector.  A value of 0 sets up a private global vector;
  332.              anything else indicates that the handler is written
  333.              in C or assembly language, and no global vector is
  334.              needed.  If this keyword isn't used, the shared
  335.              AmigaDOS global vector is used.
  336.     Startup =    A string passed to the handler, device or file system
  337.              on startup; this string is passed as a BPTR to a BSTR.
  338.     BootPri =    The boot priority of a bootable device, expressed as a
  339.              number between -129 and +127.  A value of -129
  340.              indicates that the device isn't bootable, as is
  341.              appropriate for use with the recoverable RAM disk if
  342.              you don't want to boot from that device on reset.
  343.     DosType =    Indicates the format of the file system used.  If the
  344.              Fast File System is used, this value should be set to
  345.              0x444F5301 which is Hex for "DOS1"; other types that
  346.              were introduced in 2.1 include 0x444F5302 ("DOS2"),
  347.              an international version of the old file system that
  348.              allows mixed case accented characters in filenames,
  349.              and 0x444F5303 ("DOS3"), an international version of
  350.              the Fast File System.  User types commonly found in
  351.              applications such as use CrossMAC or CrossDOS are
  352.              0x4D414300 ("MAC"), or 0x4D534400 ("MSD"), and from
  353.              Emplant 0x4D534800 ("MSH") for their MSDOS hardfiles.
  354.     Baud =        Serial device speed (in bits per second).
  355.     Control =    Serial device control parameters;- word length, parity,
  356.              and stop bits (e.g. 8N1, 7E1).
  357.     ForceLoad =    A new 2.1 option; when this value is zero (the default)
  358.              the system will check the resource list to see if the
  359.              file system named in the entry has already been loaded.
  360.              If it has, the system will use that one, instead of
  361.              loading a new copy.  When ForceLoad is set to one,
  362.              however, a new version will always be loaded from disk.
  363.  
  364. 11. Can I mount Emplant or PCTask hardfiles for access from the Amiga side?
  365.  
  366.     If you have the applicable multi-platform software (i.e., CrossDOS for PCs,
  367.     CrossMAC for MACs), you usually can provide access to the hardfile content
  368.     from the Amiga in addition to that provided through the emulator via its
  369.     file handling software.  Just as instructions are provided with the Aminet
  370.     program PCDisk for mounting a PC partition on the Amiga side, instructions
  371.     can be generated for mounting a PC or MAC hardfile - with a little work:
  372.     For example, lets suppose we want to generate an EMPLANT hardfile using the
  373.     hardfile creation utility in the Emplant software drawer.  After invoking
  374.     the hardfile creation utility via the HardFileSetup icon, proceed with the
  375.     default "EMPLANT" entry in the "HardFile Type" gadget; use the mouse to
  376.     place the text entry cursor in the "File Type" gadget, and enter the string
  377.     "L:CrossMACFileSystem" terminated with a carriage return (less the quotes,
  378.     of course).  Similarly, set into the "Unit Number" gadget an appropriate
  379.     value - i.e., "0" for the first hardfile created, "1" for the next one,
  380.     etc.  Consistent with the presentation contained in this FAQ list, select
  381.     "Mountlist" in the "Mountlist Type" gadget so you can find it in the devs
  382.     directory after you're done.  Set the size gadgets to whatever capacity is
  383.     needed for the hardfile, and then proceed to create the file by clicking
  384.     the "Create HardFile" button.  When it's done, click the "Create Mountlist"
  385.     button.  Follow through by entering an appropriate filename for the new
  386.     Mountlist (i.e. device MHD0 and "Mountlist_MHD0" for the first one), and
  387.     SAVE the file to devs.  Of course, if you already have a hardfile you have
  388.     created, formatted, and loaded with software then you don't need to do any
  389.     of this; you can edit the Mountlist or Mountfile so as to provide the
  390.     FileSystem entry.  In addition to the FileSystem entry, you need to provide
  391.     a DosType entry.  Invoke a text editor on the mountlist created in the devs
  392.     directory to add "DosType  =  0x4D414300" replacing the 0x444f5301 entry
  393.     provided by the mountlist creation utility.  You can leave the device as
  394.     emphf.device if you put the hardfile at the root of a partition, or you can
  395.     edit it out and enter "fmsdisk.device" if you want to put the hardfile in a
  396.     directory.
  397.  
  398.     Next you need to make an appropriate symbolic assignment so that the device
  399.     driver can find the file.  Use "Assign EMPHF: HD1:" for example for the
  400.     emphf.device, or Use "Assign FMS: HD1:HFD" if you are using the alternative
  401.     fmsdisk.device.  Also, if you use the fmsdisk.device, you will need to move
  402.     the EmpHardFile0 file from HD1: to HD1:HFD changing the filename to "Unit0"
  403.     to re-construct a proper link to the file.  If you want to mount this file
  404.     for future reboots, you should put the Assignment in the s:User-startup
  405.     file along with the Mount command.
  406.  
  407.     The Mount command is invoked after the above Assignment has been made:
  408.     Use "Mount MHD0: from devs:Mountlist_MHD0" for this if it is the first
  409.     (e.g., the 0th) unit.  The same mount command works for either the fmsdisk
  410.     or the emphf devices; with the fmsdisk.device or the emphf.device for a
  411.     mountlist that contains the CrossMAC file system and MAC DosType entries
  412.     though, a CrossMAC icon will appear on the Workbench after the first
  413.     command that references the file.  For the emphf.device used in a mountlist
  414.     without the CrossMAC entries, the AmigaDOS-side links will not be created.
  415.     With the Emplant MAC emulator software (Rev => 4.5) one can create floppy
  416.     image hardfiles (i.e., FloppyImageX where X = 0 for the first unit), or if
  417.     you don't have Emplant, you can do it using the fmsdisk.device, as follows: 
  418.  
  419.     Mount a floppy image hardfile as device MHF0 (as in the mountlist section).
  420.     Format the hardfile via the command "Format drive MHF0: name MHF0 noicons"
  421.     for instance (this is the first reference for new files - otherwise you can
  422.     use any command that requests data from the file in order to access it and
  423.     bring up the Workbench icon for the volume).
  424.  
  425.     Note that an initial formatting done immediately after creation of the
  426.     hardfile may not produce a format usable by the emulator.  In that case,
  427.     the volume will be mounted and presented to the emulator, and the emulator
  428.     will then usually have the capacity to properly format the volume.
  429.     
  430.     However, in most cases it is possible to mount and format the volume with
  431.     CrossDOS or CrossMAC (making it accessible on the Amiga side) and then
  432.     discover that the emulator also has access to the volume after it has been
  433.     mounted.  For such instances, do be aware that the emulator has no idea
  434.     what state AmigaDOS has stored for the content of the volume, and neither
  435.     does AmigaDOS have any idea what the emulator's stored state for the volume
  436.     happens to be.  For these circumstances, only one system may write to the
  437.     volume at once without corrupting it; so as soon as a writer has finished,
  438.     the reading system needs to perform an internal update of it's own record
  439.     of the volume content.  With AmigaDOS, use the command "diskchange"; for
  440.     the Mac it will be necessary to drag the volume to the Trashcan (possibly
  441.     it will be necessary to re-mount it after doing this).  On a PC, issue a
  442.     "CHKDSK" command for the volume.  Needless to say, these procedures do not
  443.     support automatically maintained access from both sides...
  444.  
  445.     Also, FYI only, Macintosh partitioned hard drives connected to the EMPLANT
  446.     SCSI bus can be mounted on the Amiga side via the empscsi.device prior to
  447.     invoking the MACII emulator, thus allowing the same type of self-policed
  448.     only-one-writer-at-a-time-please mode described above for hardfiles.  As
  449.     an example, assume you have an old Quantum 105S you didn't know what to
  450.     do with, and you put it on the Emplant SCSI bus.  After the 2-sequence
  451.     boot produced by RsrvMem via the SetupEMPLANT script launched in the
  452.     Startup-sequence invocation, before you do much of anything else, mount
  453.     the Quantum 105S with this mountlist from the file "Mountlist_MACX":
  454.  
  455.     /* Quantum LP105S with Macintosh format, no Amiga Rigid Disk Block! */
  456.     /* It is factored to multiples of 13, 16, or 19 blocks per track to */
  457.     /* utilize a total of 205,504 available blocks.  The Standard Amiga */
  458.     /* format for this drive is a multiple of 14 blocks per track, done */
  459.     /* as 2097 cyl, 98 blocks per track = 205,506 available blocks.  It */
  460.     /* is rated at 101 Meg (1 Meg = 2048 blocks) or 105,906,176 bytes.  */
  461.  
  462.     MACX:
  463.         Device = empscsi.device
  464.         FileSystem = L:CrossMACFileSystem
  465.         Unit   = 0
  466.         Flags  = 0
  467.         Surfaces  = 2
  468.         BlocksPerTrack = 32
  469.         Reserved = 0
  470.         Interleave = 0
  471.         LowCyl = 0 ;  HighCyl = 3211
  472.         Buffers = 30
  473.         GlobVec = -1
  474.         BufMemType = 0
  475.         DosType = 0x4D414300
  476.         MaxTransfer = 0xffffff
  477.         Mask = 0x7ffffffe
  478.         StackSize = 4000
  479.     #
  480.  
  481.     via    Mount MACX: from Mountlist_MACX
  482.  
  483.     Note that you cannot use SCSIMounter to mount this Mac formatted hard disk
  484.     since it does not have an RDB written to the first two cylinders as would
  485.     an Amiga Amiga sys hard drive or Amiga CD-ROM drive.
  486.  
  487.     If you issue the command "cd MACX:" from a CLI, you will get a requester
  488.     advising that there is no media in the drive.  However, if you cancel the
  489.     requester and issue a "Diskchange MACX:" command, a CrossMAC icon for the
  490.     drive will appear on the Workbench, and the next CLI command you issue to
  491.     reference the drive will work to open the volume to the Amiga side.
  492.  
  493.     Once the volume is available to the Amiga, you can go ahead and launch the
  494.     Mac emulator.  Note that some Mac apps do timing critical disk accesses.
  495.     If you gong one of these programs with interleaved disk accesses, you may
  496.     end up with a messed up MAC file system. It isn't assured that you could
  497.     mess things up if you wanted to, but it's also not assured that you won't
  498.     even if you don't want to...
  499.  
  500. 12. Is there a way to mount a file system for A-Max as a hardfile?
  501.  
  502.     There is at least one way, but it involves several elaborate procedures:
  503.  
  504.     Make a partition on a Syquest 88 Meg removable media hard disk containing
  505.     an AutoBootPC volume in the upper half of the partition and an A-MaxII
  506.     file system in the lower half.  The AutoBootPC volume is effectively just
  507.     a large-floppy format MSDOS hardfile.  It is then only necessary to overlay
  508.     the A-MaxII file system by a file which is allocated to AmigaDOS.  This is
  509.     done by generating a file named "RESERVED" formatted  by the AmigaDOS v1.3
  510.     Fast File System.  The v1.3 Fast File System did not have any dispersed
  511.     file list blocks such as are interspersed within the otherwise contiguously
  512.     formable file blocks of the AmigaDOS 2.0 and higher file system revisions.
  513.     This Mac file system system can be created in the following manner:
  514.  
  515.     1} Copy the v1.3 FastFileSystem from an AmigaDOS v1.3 Workbench into
  516.        your v2.+ AmigaDOS Workbench L: directory as "OFFSFileSystem" and
  517.        copy the v1.3 Workbench Format command to sys:System as "Formit"
  518.        using either the v1.3 icon or a duplicate of the sys:Format.info
  519.        file; correct the Tool Types to be the same as are used by the
  520.        v1.3 version of Format.
  521.      
  522.     2} Build overlapping mountlists for the 64 megabyte DH1 partition.
  523.        Inspect and plan to use the "-->" entries in the mountlists below:
  524.  
  525.     /*SyQuest SQ5110 BBA CFA  ADDR 0  LUN 0     CYL 2710  HD 2  BPT 32 */
  526.     RES0:
  527.         Device = scsi.device
  528.         Unit   = 0
  529.         Flags  = 0
  530.         Surfaces  = 2
  531.         BlocksPerTrack = 32
  532.         Reserved = 0
  533.         Interleave = 0
  534.         LowCyl = 0  ;  HighCyl = 1
  535.         Buffers = 1
  536.         BufMemType = 0
  537.     #
  538.  
  539.     /* SCSI AmigaDOS File System partition */
  540.     DH0:
  541.         Device = scsi.device
  542.         Unit   = 0
  543.         Flags  = 0
  544.         Surfaces  = 2
  545.         BlocksPerTrack = 32
  546.         Reserved = 2
  547.         Interleave = 0
  548.         LowCyl = 2  ;  HighCyl = 659
  549.         Buffers = 32
  550.         BufMemType = 0
  551.     #
  552.  
  553.     /* SCSI Fast File System partition */
  554.  *-->    DH1:
  555.         Device = scsi.device
  556.         FileSystem = L:OFFSFileSystem
  557.         Unit   = 0
  558.         Flags  = 0
  559.         Surfaces  = 2
  560.         BlocksPerTrack = 32
  561.         Reserved = 2
  562.         Interleave = 0
  563.         LowCyl = 660  ;  HighCyl = 2709
  564.         Buffers = 384
  565.         GlobVec = -1
  566.         Mount = 1
  567.         BufMemType = 0
  568.         DosType = 0x444f5301
  569.         StackSize = 4000
  570.     #
  571.  
  572.     /* SCSI A-MaxII Macintosh system partition */
  573.  *-->    AMAX:
  574.         Device = scsi.device
  575.         FileSystem = L:OFFSFileSystem
  576.         Unit   = 0
  577.         Flags  = 0
  578.         Surfaces  = 2
  579.         BlocksPerTrack = 32
  580.         Reserved = 2
  581.         Interleave = 0
  582.         LowCyl = 661  ;  HighCyl = 1656
  583.         Buffers = 30
  584.         GlobVec = -1
  585.         BufMemType = 0
  586.         DosType = 0x444f5301
  587.         StackSize = 4000
  588.     #
  589.  
  590.     While to start with the RDB will contain only DH0: and DH1:, after all
  591.     of the partitioning, formatting, and loading of software has been done,
  592.     the RDB will contain only the DH0: and AMAX: volume mountfiles.
  593.     The intended run-time operation is as follows:
  594.  
  595.     Of the above, RES0: is unopposedly mounted by the hard drive controller
  596.     (it is the RDB partition); DH0: and AMAX: are then mounted by the
  597.     hard drive controller as automounting from the RDB, while the upper
  598.     half of the space described in the DH1: mountlist above is "empty grey"
  599.     or unallocated, according to the HDToolBox depiction.  The lower end
  600.     of DH1: starts one cylinder below AMAX: and the center of DH1: which
  601.     contains all of the file list blocks is just above the top of the
  602.     AMAX: volume.   DH1: is mounted after boot at the beginning of the
  603.     s:User-startup file.  Why is all this rigamarole engaged?  Well, it's
  604.     done because A-MaxII will mount ONLY a device whose name begins with
  605.     AMAX and is also ONLY placed in the RDB!  Devices having names that
  606.     begin with AMAX and are mounted by Exec after the RDB has been read
  607.     are ignored by the A-MaxII boot sequence.  Do not let anyone who has
  608.     not read this FAQ ever invoke HDToolBox on your Syquest drive, or they
  609.     will surely not understand everything that is going on, and will mess
  610.     things up before they get any grasp of the way all this must be done!
  611.  
  612.     A procedure needed to make the file systems in the right order is
  613.     explained as follows:
  614.  
  615.     1) Use HDToolBox to initialize the Syquest DH0: and DH1: partitions.
  616.  
  617.     2) Reboot the system so that the hard drive controller can read the
  618.        RDB.  Format the DH0: partition and load the operating software,
  619.        including the Bridgeboard and A-MaxII software.
  620.  
  621.     3) Now "formit" the DH1: volume.
  622.  
  623.         Formit drive DH1: name DH1 noicons
  624.  
  625.        Invoke HDToolBox; delete the DH1 partition and define the AMAX
  626.        partition in the start and end text gadgets as start cyl 661 and
  627.        end cyl 1656.  Leave everything above cylinder 1656 unallocated.
  628.        Use the "Advanced Options" to declare the AMAX partition as a
  629.        "Reserved File System" partition with automount enabled.  Again
  630.        reboot the system to bring this status to current for AmigaDOS.
  631.        From now on, only the RDB and A-MaxII will need to know about the
  632.        AMAX: partition.
  633.  
  634.     4) Generate the AutoBootPC file
  635.  
  636.         CD DH1:
  637.         MakeAB AutoBootPC
  638.  
  639.        Use 1024 cyl 2 hd 32 blocks per track - get a 33 Meg hardfile, which
  640.        AmigaDOS will gleefully place entirely in the upper half of the
  641.        partition (except for the file list blocks, some of which will be
  642.        written at the top of the lower half of the partition).  Edit the
  643.        sys:PC/System/ABoot.ctrl file to contain the string "DH1:AutoBootPC"
  644.        sans quotes.
  645.  
  646.     5) Invoke a program that sequentially allocates file blocks and writes
  647.        a FFS format pattern in them; use it to fill the entire lower half
  648.        of the DH1 volume.  [One such a program, "Reserve" creates one long
  649.        sequential file named "RESERVED"; the OFFS file system puts the
  650.        file list blocks just below the root track working downward, while
  651.        Reserve writes file blocks at block 2 of Cyl 0, working on upward.
  652.        Note: since A-Max adjusts its AMAX: file system to work upward from
  653.        (and including) block zero it is necessary to mark blocks 2 through
  654.        64 of DH1 as unavailable in the bit map using "Sec" (sector editor).
  655.        Reserve will then start by allocating two blocks in the root track,
  656.        one for the file header, and one for the first data block.  Reserve
  657.        will then continue on writing and allocating blocks starting with
  658.        block 65 (the second block in Cyl 1) right up to the last block
  659.        available on the disk.  When Reserve is done, Sec is used to change
  660.        the file header block pointer for the one data block in the root
  661.        track to a pointer to block 64, thus making the RESERVED file start
  662.        exactly at the beginning of Cyl 1.  Then Sec can be used to chop 22
  663.        blocks off the tail of the RESERVED file by editing the last file
  664.        extension block so the RESERVED file ends exactly with block 63807
  665.        ($F93F).
  666.  
  667.     6) The RESERVED file header block size word ($51) is next edited to
  668.        show a file length of exactly 32,636,938 bytes = 996 cylinders.
  669.        This will leave 22 unallocated blocks just above the last of the
  670.        file list blocks that begin with block 63808 ($F940).  There is thus
  671.        room there for the disk icon file (Disk.info) if it is written to
  672.        the disk right after the disk is validated (see procedure below).
  673.        Now, force the disk validator to process the DH1 volume (clear word
  674.        4E in the DH1 root block from FFFFFFFF to 00000000 and invoke the
  675.        diskchange program to call the validator).  By AmigaDOS standards,
  676.        though, the AMAX partition is rather non-standard, since standard
  677.        partitions start on an even numbered cylinder and end with an odd
  678.        numbered cylinder.  Don't ever try to get AmigaDOS to format the
  679.        AMAX partition, as it may format one cylinder higher than intended
  680.        while thinking it needs to format an even number of cylinders...
  681.  
  682.     7) Place the command "Mount DH1:" in the s:User-startup file and reboot
  683.        the system.  Having done all this, bring up the Bridgeboard and use
  684.        FDISK to initialize the 33 Meg AutoBootPC hardfile, format its
  685.        internal partitions (if you created an extension using FDISK) format
  686.        all the PC volumes and load the PC software.  When done with that,
  687.        invoke A-MaxII; it will find the AMAX: partition mounted by the hard
  688.        drive controller from the RDB.  A-MaxII will ask that the hard disk
  689.        be initialized; given your approval, at the end of that operation a
  690.        31 Meg Mac hard drive will be available for loading all those cheap
  691.        128K mac programs you've always wanted to fool around with!
  692.  
  693.        In addition, the DH1: file "RESERVED" is effectively an A-MaxII
  694.        hardfile which can be transferred as an AmigaDOS file to any other
  695.        similarly formed Syquest 88 Meg platter.  It can also be mounted on
  696.        the Amiga side, but not simultaneously with operation of the A-MaxII
  697.        program, however; as Dave Haynie once declared, "A-MaxII is not a
  698.        well behaved Amiga application - it's a `hostile takeover' program."
  699.        Following is a CrossMAC mountlist:
  700.  
  701.   /* SCSI A-MaxII system hardfile on an 88 Meg removable Syquest hard disk */
  702.  
  703.     MACX:
  704.          Device = scsi.device
  705.          FileSystem = L:CrossMACFileSystem
  706.          Unit   = 0
  707.          Flags  = 0
  708.          Surfaces  = 2
  709.          BlocksPerTrack = 32
  710.          Reserved = 2
  711.          Interleave = 0
  712.          LowCyl = 661  ;  HighCyl = 1656
  713.          Buffers = 30
  714.          GlobVec = -1
  715.          BufMemType = 0
  716.          DosType = 0x4D414300
  717.          StackSize = 4000
  718.     #
  719.  
  720.        With AMAX: / RESERVED mounted as a CrossMAC volume, you can do with
  721.        it as you please in so far as file transfer to your other networked
  722.        Amigas and their Mac emulator packages is concerned.  As an exercise
  723.        in extreme file system perversion, this is a good one; as "hardfile
  724.        support" well, it's just not.  Of course, you could avoid all this
  725.        by just doing the RDB allocation of an entire 64 Meg AMAX partition
  726.        to A-MaxII, or even by making two 32 Meg partitions, DH1 with PCDisk
  727.        for the Bridgeboard, and AMAX for A-MaxII.  You could the copy the
  728.        AMAX partition mountlist to devs as a MACX partition with FileSystem
  729.        and DosType entries as above, and use CrossMAC to mount the MACX:
  730.        volume to access it from the Amiga side when A-MaxII is not running.
  731.        Far simpler, but then you wouldn't have a RESERVED hardfile you
  732.        could mess with, either, would you...
  733.  
  734. 13. Can I use my Mac-2-DOS MAC floppy adapter cartridge to load hardfiles?
  735.  
  736.     CrossMAC reports this cartridge as a "Non Amiga-standard Mac drive" and
  737.     subsequently ignores it.  Emplant ignores either the Mac-2-DOS cartridge
  738.     or the AMAX cartridge for anything except the "Converter" program.  The
  739.     Mac-2-DOS software itself is Mac <--> Amiga oriented and does not possess
  740.     the multi-platform mentalitity it would need to have in order to transfer
  741.     files into MSDOS file systems, for instance, in a convenient way.  Each
  742.     direction of a Mac-2-DOS transfer comes with certain assumptions about
  743.     vendor & product name, resource & data forks, and the handling of icons.
  744.     The DOS-2-DOS software package (also produced by Central Coast Software)
  745.     was intended to address the intracasies of MSDOS <--> Amiga transfer in
  746.     an independent way.  The tools provided with these packages are oriented
  747.     to black & white graphics for the most part.  So while it might be that
  748.     these packages are good companions for the A-MaxII emulator and the CBM
  749.     XT and AT Bridgeboards, they are not as useful in the current programming
  750.     context as they need to be.
  751.  
  752. 14. Can I use my A-MaxII ROM / MAC floppy adapter cartridge to load hardfiles?
  753.  
  754.     Yes, you can.  Connect the cartridge to the DF2: 23-pin D Connector on
  755.     your Amiga, and you can read, write, format or [accidentally?] destroy
  756.     any write-permitted 880K real Macintosh variable speed drive floppy you
  757.     can get your hands on.  You can use either A-MaxII or CrossMAC to read
  758.     disks on a Mac 880K drive plugged into this cartridge.  You can use the
  759.     CrossMAC utilities to convert 880K Mac format disks to 880K AMAX format
  760.     disks, as described earlier in this FAQ.
  761.  
  762. 15. Can I use my Emplant AMIA MAC floppy adapter cartridge to load hardfiles?
  763.  
  764.     Yes, and a Fujitsu 800Kb floppy drive is available from Utilties Unlimited.
  765.     Can't say as how it would work with HD disks in a Mac SuperDrive, though;
  766.     connecting one up might be a fun project to try...
  767.  
  768. 16. How can I make IMAGE file copies of floppy disks and hardfiles?
  769.  
  770.     With CrossMAC any disk you copy from one unit to another may end up with
  771.     the date set to the current date on the copy.  Thus it won't be a "real"
  772.     copy in so far as some Macintosh install programs are concerned.  If you
  773.     are depending on backup floppys, and you have a source floppy disk error
  774.     in the middle of processing disk 14 of a 16 disk set, and your backup is
  775.     not a "real" copy, the Mac will just keep asking for the one who's date
  776.     it has memorized, for instance.  However, it is the situation that for
  777.     CrossMAC, anyway, that if you use their "DiskCopy" program and issue the
  778.     the command from some unit to a hardfile device with the same format,
  779.     i.e., DiskCopy MAC0: TO MHF0: you will get an IMAGE disk copy - identical
  780.     disks!  If the Mountlist for a hardfile is the same as is used for the
  781.     mounted real Mac drive connected to your A-MaxII cartridge (or ZorroII
  782.     board) you can issue the command:
  783.  
  784.             DiskCopy MAC2: TO MHF2:
  785.  
  786.     To obtain a hardfile image of the original 880K Mac format floppy disk.
  787.     Similarly, you can use:
  788.  
  789.             DiskCopy MHF2: TO MAC2:
  790.  
  791.     and make reliable backups of your Macintosh system installation disks.
  792.     Using a Mac (or mac emulator for that matter) and opening the source and
  793.     destination disks to windows, then dragging the files and folders from
  794.     the source disk window to the destination disk window may not work.  This
  795.     can lead to some difficulty, i.e., icons, such as the Install icon itself
  796.     may not appear when you insert the copy in the target AMAX floppy drive.
  797.     Making AMAX format backups of these disks is, though, a substantial task.
  798.  
  799.     With a standard DD Amiga floppy DF1: and an AMAX 800K Mac floppy DF2:
  800.  
  801.     Instead of this:
  802.  
  803.     "1> DiskCopy MAC2: TO MAC1:
  804.     DiskCopy Failure: Disks in devices MAC2 and MAC1 are not of
  805.     the same size and cannot be copied to
  806.     one another."
  807.  
  808.     which evidently doesn't do what we want, can be circumvented, believe it
  809.     or not...
  810.  
  811.     Try this:
  812.  
  813.     From a fresh boot-up,
  814.     double click the CrossMAC MAC2 and MAC1 icons in the DOSDrivers drawer
  815.     to mount the hardware disks.  If you have files named Unit1 and/or Unit2
  816.     in your HFD: directory and you want to keep them, you can temporarily
  817.     rename them U1 and/or U2 so they won't be erased and replaced with content
  818.     from the following procedure.  Having saved Unit1 and Unit2, enter commands
  819.     as follows:
  820.  
  821.     1> Assign FMS: HD1:HFD
  822.     1> Mount MHF2: from devs:Mountlist_MHF2
  823.     1> Format drive MHF2: name AMX2 noicons
  824.     Insert disk to be formatted in device MHF2 [Sokay - hardfile's in there!]
  825.     Press RETURN to begin formatting or CTRL-C to abort:    [<CR>]
  826.  
  827.     Formatting/Verifying cylinder 0, 0 to go
  828.     Initializing disk...
  829.  
  830.      The previous procedure makes a MAC format hardfile HFD:Unit2, 819200 bytes.
  831.      Place the Macintosh format 880K source disk in the Mac drive connected to
  832.      the AMAX ROM / Mac Floppy drive cartridge, and place a blank disk in the
  833.      DF1:/MAC1: floppy drive.  The following command will want to allocate
  834.      about 1.6 Meg ram in order to copy the Mac floppy to the hardfile:
  835.  
  836.     1> DiskCopy MAC2: TO MHF2:
  837.     Insert disk to copy from (SOURCE disk) in device MAC2
  838.     Insert disk to copy to (DESTINATION disk) in device MHF2
  839.     Press RETURN to begin copying or CTRL-C to abort:
  840.     Reading/Verifying   cylinder 0, 0 to go
  841.  
  842.      As we are finished with the source Mac floppy, you may now eject it.  If
  843.      you wish to have a different date on the target floppy, leave the Mac
  844.      floppy in the drive, and CrossDOS will subsequently allow redating the
  845.      target disk via a requester asking if you want to redate the target.
  846.      It is now necessary to disassociate the hardfile from the MHF2: definition,
  847.      so you need to rename and remount the hardfile as MHF1, then format the
  848.      target AMAX floppy:
  849.  
  850.     1> Assign MHF2: DISMOUNT
  851.     1> Rename HFD:Unit2 HFD:Unit1
  852.     1> Mount MHF1: from devs:Mountlist_MHF1
  853.  
  854.     1> Format drive MAC1: name MAX1 noicons
  855.     Insert disk to be formatted in device MAC1
  856.     Press RETURN to begin formatting or CTRL-C to abort:    [<CR>]
  857.  
  858.     Formatting/Verifying cylinder nn, mm to go
  859.     Initializing disk...
  860.  
  861.      Now all that remains is to copy the hardfile to the target AMAX floppy:
  862.  
  863.     1> DiskCopy MHF1: TO MAC1:
  864.     Insert disk to copy from (SOURCE disk) in device MHF1
  865.     Insert disk to copy to (DESTINATION disk) in device MAC1
  866.     Press RETURN to begin copying or CTRL-C to abort:  
  867.     Writing/Verifying cylinder mm, nn to go
  868.  
  869.      If you did not remove the source disk from the Mac floppy drive, this is
  870.      the time the requester will pop up asking if you want to redate the
  871.      target.  If you wish to manufacture an IMAGE copy, you should click the
  872.      "Ignore" box, then remove both source and destination floppy disks as
  873.      soon as possible after the copy is done.  If you want a current date for
  874.      the target disk, click the "SetDate" box.
  875.  
  876.      Having finished these procedures, it is advisable to reboot the machine,
  877.      if for no other reason than to release the lock on the file HFD:Unit1
  878.      so that you can delete it and rename the U1 and U2 hardfiles back to
  879.      Unit1 and Unit2 to make them available for mounting, if need be.
  880.  
  881. 17. Will we have any trouble with the advice in this FAQ?
  882.  
  883.     You can bet we will.  Therefore, this disclaimer:  The information in
  884.     this file, while as accurate as I can make it, is offered for entertainment
  885.     use only; neither I nor any subsequently posting site is responsible for
  886.     damage done to data, programs, computers, or peripheral devices via the
  887.     content of this FAQ.  Some cases in point: Watch out for the EMPLANT file
  888.     system when working with disk editors; the hardfiles, at least have an
  889.     even numbered top block.  Most Amiga disk editors expect an odd numbered
  890.     top block, and thus may have problems finding the root directory via a
  891.     simple offset calculation.  Even though the "Reserved" Mountlist entry
  892.     gets set to 2 for AmigaDOS file systems or 0 for Macintosh and MSDOS file
  893.     systems, that won't help the tools any.  You may need to set Reserved to
  894.     an odd number to get disk virus scanners and other tools to work very well.
  895.     Additionally, the CrossDOS/CrossMAC floppy device Mountfiles refer to
  896.     something AmigaDOS might see as an unknown keyword, "Activate" I think it
  897.     is.  It's probably an aggressive "Mount".  Another one:  Emplant's launch
  898.     screen comes up with an initial configuration with the NO CLICK option
  899.     set to "YES" - too bad for your ancient CBM 1010 external drive if you
  900.     forget to turn this puppy off.  It may de-calibrate your old drive by
  901.     repeatably stepping the heads into the track 0 mechanical stop if set to
  902.     do the NO CLICK thing!  One more item: Don't expect to be able to read
  903.     at least the older AMAX format floppy disks made by the ReadySoft product
  904.     A-Max[whatever] using the CrossDOS or Emplant floppy disk software.  Be
  905.     prepared to read the disks using the program that originally created them.
  906.     The same goes for formatting MAC hard drives.  There's no cyl zero prep
  907.     data on a MAC hard disk, so if you try to mount it on an Amiga hard disk
  908.     controller, you'll destroy the MAC hard drive root directory when you try
  909.     to set it up with HDToolBox.  Use the correct procedure for doing this,
  910.     if you try to do it at all.  For example, see pages 26 and 27 of your
  911.     A-MaxII manual.
  912.     
  913. 18. Where can I get FmsDisk?
  914.  
  915.     Anywhere Fish Disks are to be found.  FmsDisk is on Fish Disk 294.
  916.  
  917. 19. Where can I get CrossMAC and CrossDOS?
  918.  
  919.     While there are a few PC# devices included with AmigaDOS >2.0, life will
  920.     not commence for you until you get the real products from Consultron.
  921.     You can contact them by email at: consultron@consultron.plymouth.mi.us ;
  922.     direct the first line in the body of your email to Jay Morgan.  The
  923.     address is:
  924.  
  925.     Consultron
  926.     8959 Ridge Rd
  927.     Plymouth, MI 48170
  928.  
  929.     (313) 459-7271 Tech support
  930.  
  931. 20. Where can I get Emplant, etc.?
  932.  
  933.     Emplant is a MacII emulator sold by Utilities Unlimited, Jim Drew CEO.
  934.     The address I have is
  935.  
  936.     Utilities Unlimited, Inc.
  937.     3261 Maricopa #101
  938.     Lake Havasu City, Arizona 86406
  939.     (520) 680-9004
  940.     (520) 453-3909 BBS
  941.     (602) 453-9767 Orders
  942.  
  943.     It would be best that you verify this information, since it is six months
  944.     old.  Mac ROMs, by the way, dump ok as 27C64 devices, creating four files
  945.     which then must be merged.  This may be accomplished with the Unix binary
  946.     editor "bed" or an equivalent Amiga binary editor.
  947.  
  948. 21. Where can I get A-MaxII, A-MaxII+ or A-MaxIV?
  949.  
  950.     Supposedly you can get them through ReadySoft, Inc. in Canada.  Be aware
  951.     that as of the issue of A-MaxIV, the designers of A-MaxII may not be a
  952.     part of ReadySoft or the makers of A-MaxIV.  So A-MaxII upgrades may be
  953.     impossible to acquire via the original source.  This section of the FAQ
  954.     may need considerable updating itself; send me update information if you
  955.     have current knowledge, please.  Until such updates are in hand, though:
  956.     You can reach ReadySoft at (905) 731-4175 from 9-5 Eastern time Monday
  957.     through Friday, or FAX at (905) 764-8867.  Their mail address is:
  958.  
  959.     ReadySoft Inc.
  960.     30 Wertheim Court, Unit 2
  961.     Richmond Hill, Ontario Canada
  962.     L4B 1B9
  963.  
  964. 22. Where can I get Shape Shifter?
  965.  
  966.     As of September 1995 it was:
  967.  
  968.     ShapeShifter3_2a at the official ftp-site:
  969.     131.188.170.4 or server.biologie.uni-erlangen.de/pub/shapeshifter/
  970.  
  971.     This has no doubt changed since then.  I do believe that Shape Shifter was
  972.     deleted from Aminet after the discovery of someone else's proprietary code
  973.     in the SS distribution file set.
  974.  
  975.     It may also, however, yet be possible to
  976.     obtain SS from the Author:
  977.  
  978.     Christian Bauer, Langenaustr. 65, 56070 Koblenz, Germany
  979.     EMail: bauec002@goofy.zdv.uni-mainz.de
  980.  
  981. 23. What additional information needs to be added to the FAQ?
  982.  
  983.     Certainly, it needs a section to cover the Emplant 586 emulator hardfile
  984.     support.  There probably is enough in the FAQ to help a user limp by
  985.     (and even with a 586, limp is what a hardfile will do...).  There also
  986.     ought to be additions to the tables for what the Shape Shifter users are
  987.     doing with hardfiles, and what they're using for support.
  988.  
  989. 24. What address can we use for the FAQ maintainer?
  990.  
  991.     These days you can yet use email - hull@hao.ucar.edu or
  992.                  - hull@ncar.ucar.edu
  993.  
  994.     or you can send snailmail to me:
  995.  
  996.     Howard Hull
  997.     PO Box 952
  998.     Nederland, CO 80466
  999.     Tel: 303-258-3402
  1000.  
  1001. ACKNOWLEDGEMENTS:
  1002.  
  1003. kanep@mcs.com (Kane Peterson), for response to question number 4 above.
  1004.  
  1005. ---------- end of Part 2 ----------
  1006.  
  1007. -eof-
  1008.  
  1009.